package com.platform.acl.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * </p>
 * @author CZF
 * @since 2022-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="User对象", description="用户实体类")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "学生id，即学号")
    private String id;

    @ApiModelProperty(value = "密码，用MD5加密")
    private String password;

    @ApiModelProperty(value = "姓名")
    private String sName;

    @ApiModelProperty(value = "班级")
    private String sClass;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "-1/null:未安排 0:711 1:709 2:南楼")
    private Integer labPoint;

    @ApiModelProperty(value = "头像地址")
    private String avatar;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间")
    private Date gmtModified;


}
